from osc05.domain.activities.Activity import Activity
from osc05.domain.activities.AssemblingGrouted import AssemblingGrouted
from osc05.domain.activities.OnsiteActivity import OnsiteActivity
from osc05.domain.activities.StandardFloorErection import StandardFloorErection

i = 1
# a = Assembling(name='ASSM_EW' + '{:02}'.format(i + 1), duration=20,
#                              # lag=0, vol=20, slot_type=1, crane_type=1, worker_type=1,
#                              duration_low=10, duration_high=45)

# a = Activity(name='a')
# a = AssemblingExWall(name='A')
# a = Node(name='a')
print('--------------')
a = Activity(name='a', duration=10)
print(type(a))
print(a)
print(a.act_type)
print('-----OnsiteActivity---------')
a = OnsiteActivity(name='a', duration=10, worker_type=1, worker_num=10)
print(type(a))
print(a)
print(a.act_type)
print('------Assembling--------')
a = AssemblingGrouted(name='a', duration=10, worker_type=1, worker_num=10)
print(type(a))
print(a)
print(a.act_type)
print('-------AssemblingExWall-------')
a = StandardFloorErection(name='a', duration=10, worker_type=1, worker_num=10)
print(a.worker_skill)
print(a.worker_num)
print(type(a))
print(a)
print(a.act_type)
